package com.zuoye2.Demo;

import com.zuoye2.domain.Phone;

public class TestPhone {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.setBrand("小米");
        phone.setColor("黑色");
        phone.setPrice(3998);
        phone.call();
        phone.Message();

//        Phone phone = new Phone("小米",3998,"黑色");
//        phone.call();
//        phone.Message();
    }

}
